package com.tm.service;

import com.tm.model.Serial;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author huangp
 * @create 2021-09-12 21:35
 */
public interface SerialService {
    List<Map<String, Object>> allService();

    void addSerialt(Serial serial);

    void updateSerial(Serial serial);

    Serial querySerialById(Integer id);

    void delSerialById(Integer id);

    void exportFile(HttpServletResponse response);

    void uploadFile(MultipartFile dataFile);
}
